package com.only4play.practice.ordercenter.api;

import com.only4play.practice.ordercommon.pay.PayChannelType;
import com.only4play.practice.ordercommon.pay.PayGroup;
import com.only4play.practice.ordercommon.pay.PayItem;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author mengdy
 */
@Data
  public class WechatPay implements PayItem {

    @Override
    public BigDecimal getMoney() {
      return new BigDecimal("5");
    }

    @Override
    public PayGroup getPayGroup() {
      return PayGroup.THIRD_PAY;
    }

    @Override
    public PayChannelType getPayType() {
      return PayChannelType.WECHAT;
    }
  }